﻿using System.Windows.Forms;
using System.Data.Objects;

namespace ControlLibrary {
    /// <summary>
    /// A base form with a public BindingSource property, intended to be populated via Properties Window,
    /// and that will be used to check for compatibility with LookupField DataSource
    /// </summary>
    public class FormQueryBase : Form {
        public FormQueryBase() { }
        public FormQueryBase(ObjectContext context) { }

        private BindingSource _bindingSource;
        public BindingSource BindingSource {
            get { return this._bindingSource; }
            set { this._bindingSource = value; }
        }
    }
}
